
{% extends "common/layout.html" %}

{% block page_title %}Unauthorized{% endblock %}

{% block content %}
<div class="jumbotron">
    <div class="text-center">
        <h1>401</h1>
        {% if request.path.startswith('/school') %}
        <p>You are not authorized to see this page. Please <a href="{{ url_for('school.home')}}">log in</a></p>
        {% elif request.path.startswith('/manage') %}
        <p>You are not authorized to see this page. Please <a href="{{ url_for('manage.login')}}">log in</a></p>
        {% elif request.path.startswith('/student') %}
        <p>You are not authorized to see this page. Please <a href="{{ url_for('student.login')}}">log in</a></p>
        {% else %}
        <p>You are not authorized to see this page. No project found.</p>
        {% endif%}
    </div>
</div>
{% endblock %}

